using HttpJobTest;

var builder = WebApplication.CreateBuilder(args);

 IConfigurationBuilder configurationBuilder = new ConfigurationBuilder().AddJsonFile("appsettings.json");
 
 IConfiguration configuration = configurationBuilder.Build();
 
 builder.Services.AddSelfHangfire(configuration);
 
 var app = builder.Build();

 app.ConfigureSelfHangfire(configuration);

 app.MapGet("/", () => "Hello World!");

 app.Run();